package edu.tgc.web.form.bt;

import java.util.Date;
import java.util.UUID;

import org.abyss.common.web.form.easyui.CommonEasyuiWebForm;
import org.springframework.format.annotation.DateTimeFormat;

import edu.tgc.entity.system.SysUser;

public class BusinessTripForm extends CommonEasyuiWebForm<UUID> {
    // 费用
    private Double amount;
    // 签批时间
    private Date approveTime;
    // 返回时间
    private Date backTime;
    // 状态0:未审核；1：已签批；2：已完成；
    private Integer btState;
    // 事由
    private String cause;
    // 审核意见
    private String conclusion;
    // 提交申请时间
    private Date createTime;
    private SysUser creator;
    // 出差地点
    private String destination;

    // 离开时间
    private Date leaveTime;
    //住宿费
    private Double accommodation=0.0;
    //餐费
    private Double mealfee=0.0;
    //车费
    private Double travelfee=0.0;
    //补贴
    private Double allowance=0.0;
    //其它费用
    private Double otherfee=0.0;

   // private List<String> members;

    public Double getAmount() {
        return this.amount;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public Date getApproveTime() {
        return this.approveTime;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public Date getBackTime() {
        return this.backTime;
    }

    public Integer getBtState() {
        return this.btState;
    }

    public String getCause() {
        return this.cause;
    }

    public String getConclusion() {
        return this.conclusion;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public Date getCreateTime() {
        return this.createTime;
    }

    public SysUser getCreator() {
        return this.creator;
    }

    public String getDestination() {
        return this.destination;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public Date getLeaveTime() {
        return this.leaveTime;
    }

    /*public List<String> getMembers() {
        return this.members;
    }*/

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    public void setBackTime(Date backTime) {
        this.backTime = backTime;
    }

    public void setBtState(Integer btState) {
        this.btState = btState;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    public void setConclusion(String conclusion) {
        this.conclusion = conclusion;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setCreator(SysUser creator) {
        this.creator = creator;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public void setLeaveTime(Date leaveTime) {
        this.leaveTime = leaveTime;
    }

	public Double getAccommodation() {
		return accommodation;
	}

	public void setAccommodation(Double accommodation) {
		this.accommodation = accommodation;
	}

	public Double getMealfee() {
		return mealfee;
	}

	public void setMealfee(Double mealfee) {
		this.mealfee = mealfee;
	}

	public Double getTravelfee() {
		return travelfee;
	}

	public void setTravelfee(Double travelfee) {
		this.travelfee = travelfee;
	}

	public Double getAllowance() {
		return allowance;
	}

	public void setAllowance(Double allowance) {
		this.allowance = allowance;
	}

	public Double getOtherfee() {
		return otherfee;
	}

	public void setOtherfee(Double otherfee) {
		this.otherfee = otherfee;
	}

   /* public void setMembers(List<String> members) {
        this.members = members;
    }*/
    

}
